package com.vcredit.creditcat.service.privilegeCat;

import com.vcredit.creditcat.model.LotteryPond;
import com.vcredit.creditcat.persistence.LotteryPondMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by liaoshengjun on 2017/12/12.
 */
@Service
public class LotteryPondService {
	@Autowired
	private LotteryPondMapper lotteryPondMapper;
	public List<LotteryPond> findByLotteryType(Integer lotteryType){
		List<LotteryPond> result=lotteryPondMapper.findByLotteryType(lotteryType);
		return result;
	}
}
